package org.awater.animation;

import java.util.Collection;
import java.util.Iterator;

public interface IAnimationLayer extends Runnable, Collection<AbstractAnimation>, Iterator<AbstractAnimation>{
	/**
	 * Call this method to start animation
	 */
	public void animate();
	public void add(int location, AbstractAnimation object);
	public boolean addAll(int location, Collection<? extends AbstractAnimation> collection);
	public AbstractAnimation get(int location);
	public int indexOf(Object object);
	public AbstractAnimation remove(int location);
	public AbstractAnimation set(int location, AbstractAnimation object);
}